filename = r'file\si.txt'
# with open(filename) as file_object:
#   for line in file_object:
#     print(line)

# with open(filename) as file_object:
#   lines = file_object.readlines()

# print(lines)
# for line in lines:
#   print(line)

writename = r'file\write.txt'

# with open(writename,'a') as file_object:
#   file_object.write('I love python\n')
#   file_object.write('This sentence is writed by python\n')

guest = r'file\guest.txt'
# name = input('enter your name')
# write_str = 'welcome the guest: ' + name + '\n'
# with open(guest,'a') as file_object:
#   file_object.write(write_str)
